import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { SeqPointHelper } from "./SeqPointHelper";
import { EMapPointType } from "./EMapPointType";
type int = number;
//class SMapSharp
    
    export  class SMapSharp
    {
       

        public __write(arg1: SerializeStream): void
        {
            arg1.writeInt(this.sharpId);
            SeqPointHelper.write(arg1, this.points);
            this.type.__write(arg1);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.sharpId = arg1.readInt();
            this.points = SeqPointHelper.read(arg1);
            this.type = EMapPointType.__read(arg1);
            return;
        }

        public /* var */sharpId: int;

        public /* var */points: Array<any>;

        public /* var */type: EMapPointType;
    }
